import request from "@/utils/request";

// 获取列表
export function getAllList(data) {
  return request({
    url: "/evaluationSummary/getPersonnelInjuryAssessment",
    method: "post",
    data: data,
  });
}
// 获取列表
export function getAllList1(data) {
  return request({
    url: "/houseEconomicDamageAssess/getDisasterAreasHousesDirectEconomicLosses",
    method: "post",
    data: data,
  });
}
// 查看
export function getEvaluationSubArea(query) {
  return request({
    url: "/houseEconomicDamageAssess/getEvaluationSubArea",
    method: "get",
    params:query
  });
}

// 查看
export function getDisasterAreasHousesData(query) {
  return request({
    url: "/evaluationSummary/getPersonnelInjuryData",
    method: "get",
    params:query
  });
}

// 查看死亡原因
export function getCauseDeaths(params) {
  return request({
    url: "/evaluationSummary/getCauseDeaths",
    method: "get",
    params
  });
}
